Make sure your canvas pixels ends in a even number.

https://web.archive.org/web/20250714195328/https://tips.clip-studio.com/en-us/articles/10572